import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;


public class HSundialMathTest {

	private HSundialMath test1;
	private HSundialMath test2;
	private SundialMath a;
	private HSundialMath test3;
	
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
		this.test1 = new HSundialMath(-10, 10, " ", null);
		this.test2 = new HSundialMath(10, 10, " " , null);
		this.a = new SundialMath(37.85, -98.78, 5, "April");
		this.test3 = new HSundialMath(a.getLatitude(), a.getLongitude(), a.getTimeZoneName(), a.getHourLines());
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void test() {
		assertTrue(this.test1.getSouth());
		assertTrue(!this.test2.getSouth());
		assertEquals(this.test3.getlatitude(), this.a.getLatitude());
		assertEquals(this.test3.getHourlines(), this.a.getHourLines());
	}

}
